Code for Correlations of State of the Academy 2022


Description: This notebook contains the code used to find correlations in the SOTA 2022. The code is documented and shared to ensure full transparency of the process data is engineered and filtered. All relevant data and information is removed to ensure complete privacy of survey respondents.

Author: Chang Dakota Sum Kiu (schang23@andover.edu, dakotacsk@protonmail.com)

Editors: Raina Yang (ryang24@andover.edu)

Last Edited: 17-05-2022

Code for Correlations of State of The Academy 2022

Use this to find specific questions from survey (search)

Separating df by commonly used classifications


temp = df['#######'] for each in temp: print('df_' +each+ "= df[df['#######'] =='" + each + "']")

By class

By day or boarding

By sec

International

By gender identity

Community Type

Legacy

Political Affiliation

Varsity Athlete

Changed political affiliation

Informed about Politics

Know Someone Incarcerated?

Leadership?

Counselor

Hooked up?

Happy?

Mental Health Diagnosis

Anxiety?

Drug use

Study Drug Use

Pressured to do Drugs

Has fake id

Has learning disability

YAY I CLEANED THE MULTI-ANSWER DATA HERES HOW:

IMPORTANT: function to find intersection between multi-answer questions

Correlation for Race

Correlation for Sexuality

Correlation for Social Divide

Feel free to add more if i missed some!


Charts by Sections According to Past SOTAs

General

SEC by Percieved SEC

GPA by Income

SUGGESTION (DC): INTERNATIONAL VS SEC AND POLITICS

Legacy v Income

Sexual Orientation vs Gender Identity

Varsity v SEC

Varsity vs Race

Class vs Class of Partner


Politics and Worldview

Political affiliation and gender identity

Varsity athletics and political affiliation

Have your political beliefs cahnged and current political affiliation

Mention of political affiliation and current events knowledge

Political Orientation vs Censorship

Affirmative Action

Affirmative Action by Race

Affirmative Action by Gender Identity

FEMINISM BY GENDER IDENTITY

Reverse Racism

Abortion Rights vs Gender

Prison System

Decriminalization drug x incarcerated

Household own Firearm vs Area

Firearm Ownership x political

Firearm by Income

Student Leadership by Political Affiliation


Wellness

Body Insecurity by Gender

Body Insecurity by Varsity

Sykes vs Support enough

Happy vs Income

Happy vs Percieved SEC

Happy vs GPA

Sykes mental health support and experience with mental illness

Anxiety and Gender Identity


Sex

Sex Ed over the years

Substance consumption and Sex

Rape Culture and Gender Identity

Masturbation and Gender Identity

Peer pressure and Hook Up culture

Hookup vs sexual orientation

Hookup and Gender

Sex and Class

Sexuality and Frequency of Sex


Drugs and Alc

Normalization of drug vs drugs freq

Study Drugs vs GPA

Pressure to do Drugs + Normalization

Leadership and drugs

Fake id and Drug Use


School

GPA and Gender

GPA and Varsity

Considering Leaving vs Year

Andover Affecting College by Year

Accomodations vs Learning Disability


Campus Culture

Andover fossil fuel divestment and political affiliation

Ideological Diversity and Political Orientationa

Anti Racism Work v Class

Anti Racism Work v Political Orientation

Anti-racism work by race

Andover glorifying athletics and varsity athlete


Campus Diversity

Faculty lacking in gender diversity and gender identity

Faculty lacking in racial diversity vs race

Social divide due to socioeconomic status and perceived socioeconomic class

Social divide due to race and race

Ability to obtain leadership positions and gender identity

Ability to obtain leadership positions and race

Ability to obtain leadership pos due to socioeconomic status and perceived class

Level of comfort in a classroom and race

Level of comfort in classroom setting and gender identity

EBI curriculum effectiveness and class year

Day Student integration and student status


Discipline

DC system effectiveness and DC recipients

Major offense and boarding/day status

Cheating and class year

Boarding vs Day student understanding dc process

DC privilege and family income